<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="dist/vue.js"></script>
</head>
<body>
    <div id="app">
        {{ msg }}

        {{ content }} <div v-html="content"></div> <div v-text="content"></div>

        <div v-bind:class="aaa"></div>

        {{  1 + 1 }} 
        {{ msg.split('').reverse().join('') }}
    </div>
</body>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            msg: 'Hello Vue.js',
            content: '<h1>我是标题h1的内容</h1>',
            aaa: 'active'
        }
    });
</script>
</html>